package com.bawei.detail.state

import com.bawei.common.entity.CommendEntity
import com.bawei.common.state.BaseUiState
import com.bawei.detail.entity.AuthorEntity
import com.bawei.detail.entity.DanmuEntity

sealed class DetailUiState: BaseUiState(){

    object LoadEmpty: DetailUiState()

    data class LoadAuthorInfoSuccess(val entity: AuthorEntity): DetailUiState()

    data class LoadAuthorInfoFail(val msg: String): DetailUiState()

    data class LoadMovieCommendSuccess(val list: List<CommendEntity>): DetailUiState()

    data class LoadMovieCommendFail(val msg: String): DetailUiState()

    //20250215 游戏鸿蒙-i视频-10-性能升级-多版本兼容 发送弹幕
    data class PublishDanmuMsgSuccess(val data: DanmuEntity): DetailUiState()
    data class PublishDanmuMsgFail(val msg: String): DetailUiState()

    //20250215 游戏鸿蒙-i视频-10-性能升级-多版本兼容 获取历史弹幕
    data class LoadBulletScreenInfoSuccess(val data: List<DanmuEntity>): DetailUiState()
    data class LoadBulletScreenInfoFail(val msg: String): DetailUiState()


}
